set(Headers
  anaglyph.h
  application.h
  camera.h
  chrono.h
  color.h
  cube.h
  exception.h
  film.h
  geometry.h
  image.h
  intersection.h
  light.h
  loader.h
  maths3d.h
  object3d.h
  plan.h
  point3d.h
  ray.h
  raytracer.h
  scene.h
  smartpointer.h
  solidobject.h
  sphere.h
  texture.h
  texturemanager.h
  tools.h
  tore.h
  vector3d.h
)

set(SRCs
   ${Headers}
   anaglyph.cpp
   application.cpp
   camera.cpp
   chrono.cpp
   color.cpp
   cube.cpp
   exception.cpp
   film.cpp
   image.cpp
   intersection.cpp
   light.cpp
   loader.cpp
   object3d.cpp
   plan.cpp
   point3d.cpp
   ray.cpp
   raytracer.cpp
   scene.cpp
   solidobject.cpp
   sphere.cpp
   texturemanager.cpp
   tore.cpp
   vector3d.cpp
)
set(Target Raytrace)

add_library(${Target} SHARED  ${SRCs})
target_link_libraries(${Target} gfl)
